Methods, systems, and computer-readable mediums for configuring electronic messaging applications

ABSTRACT

Methods, systems, and computer-readable mediums configure electronic messaging applications to communicate with a server storing messages to and/or from an electronic messaging account of a user. A method involves receiving an electronic message address and a password of the user as inputs, deriving server connection settings based on the electronic message address, and applying the server connection settings to the electronic messaging account. Another method involves receiving an electronic message address of the user and discovering the server connection settings for the electronic messaging account on a server having a designated protocol name as a server prefix name to assist in locating the server and having the server connection settings. The method also involves retrieving the server connection settings from a file provided by the server in response to locating the server having the designated name and applying the server connection settings to the electronic messaging account.

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or patent disclosure as it appears in the U.S. Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.

TECHNICAL FIELD

The present invention generally relates to configuring electronic messaging applications, and more particularly, is related to methods, systems and computer-readable mediums for automatically configuring electronic mail (email) application accounts with server configuration settings necessary to send and receive email.

BACKGROUND

Users of electronic messaging applications, such as email applications, are at one time or another are prompted by a computer to provide communication port and protocol settings with which the users are not familiar. The typical email user only remembers his or her e-mail address and often believes that entering an e-mail address in the computer should be sufficient for the entire configuration to take place. Further, one of the top customer support costs for some email software manufacturers is configuring email applications to connect to a server, with which the user has an account, and download e-mails. People generally do not understand how to find configuration settings for their server. Nor do people understand how to tell email applications, such as OUTLOOK from MICROSOFT CORPORATION of Redmond, Wash., their server settings.

Previous systems have attempted to address the industry need by shipping a small database of, for example, the top 10 ISPs server connection settings. However, these previous approaches are lacking in that they provide static data without a mechanism to dynamically update the server configuration settings. Thus, if a user has an old version of the product and the ISP has changed their server connection settings, the database will provide the wrong settings.

Accordingly there is an unaddressed need in the industry to address the aforementioned deficiencies and inadequacies.

SUMMARY

Embodiments of the present invention provide methods, systems, and computer-readable mediums for configuring electronic messaging application accounts with server configuration or connection settings necessary to send and receive electronic messages. Some embodiments determine server names and configuration settings necessary to send and receive e-mail by deriving the server connection settings based on an e-mail address provided by a user. Other embodiments retrieve the server connection settings from a markup language file provided by an ISP or built by a custom mail server. Algorithms and associated technology that intelligently derive or guess the server connection settings are referred to herein as Guessmart elements and algorithms and associated technology that retrieve the server connection settings are referred to herein as AutoDiscovery (AD) elements. An aspect of the invention relates to the user experience of typing in an e-mail address and having the email application automatically configure server connection settings based on the email address.

One embodiment is a method for configuring an electronic message application to communicate with a server storing messages at least one of to and from an electronic message account of a user. The method involves receiving an electronic message address and a password of the user as inputs, deriving server connection settings based on the electronic message address, and applying the server connection settings to the electronic message account.

Another embodiment is a computer program product including a computer-readable medium having control logic stored therein for causing a computer to configure an electronic message application to send and receive electronic messages for an electronic message account. The control logic includes computer-readable program code for causing the computer to receive an electronic message address and a password of a user, derive server connection settings based on a domain name of the electronic message address, and apply the server connection settings to the electronic message account.

Still another embodiment is a computer-implemented system for configuring an email application to send and receive emails utilizing server connection settings for an email account of a user. The system includes a client computer operative to receive an electronic message address and a password of the user, derive the server connection settings from the email address received, and apply the server connection settings to the email account.

Another embodiment is a method for configuring an electronic message application to communicate with a server storing messages to and/or from an electronic message account of a user. The method involves receiving an electronic message address of the user and discovering actual server connection settings for the electronic message account on a server having a designated protocol name as a server prefix name to assist in locating the server and having the server connection settings. The method also involves retrieving the server connection settings from a file provided by the server in response to locating the server having the designated name and applying the server connection settings to the electronic message account.

Still another embodiment is a computer-readable medium having computer executable components. The computer executable components include a first component that is arranged to indicate that a retrieved XML payload comprises a response to a request for server connection settings that support an account associated with an application program, the request being initiated from the application program executing on a client computer to a server having a designated service to provide an XML payload to assist the client computer in locating the server. The computer executable components also include a second component arranged to specify a type of the account, a third component arranged to indicate whether the retrieved XML payload contains the server connection settings, whether the request will be redirected to another server for the server connection settings, or whether an email address used by the application program to request the server connection settings should be changed.

Still further, the computer executable components include a fourth component arranged to enclose specifications for the server connection settings when the third component is arranged to indicate that the retrieved XML payload contains the server connection settings, a fifth component arranged to specify a kind of mail account being configured for the type of the account, and a sixth component arranged to specify a name of a mail server corresponding to the kind of mail account being configured.

The invention may be implemented utilizing a computer process, a computing system, or as an article of manufacture such as a computer program product or computer-readable media. The computer program product may be a computer storage media readable by a computer system and encoding a computer program of instructions for executing a computer process. The computer program product may also be a propagated signal on a carrier readable by a computing system and encoding a computer program of instructions for executing a computer process.

These and various other features, as well as advantages, which characterize the present invention, will be apparent from a reading of the following detailed description and a review of the associated drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating client computing apparatuses, servers, and a network architecture that provide an illustrative operating environment for illustrative embodiments of the present invention;

FIG. 2 is a computing system architecture illustrating a client computing apparatus utilized in and provided by various illustrative embodiments of the invention;

FIG. 3 is a computer screen display illustrating a user interface displaying a welcome screen for an electronic messaging application startup wizard for guiding a user through a configuration process according to an illustrative embodiment of the present invention;

FIG. 4 is a computer screen display illustrating a user interface displaying a data entry screen for adding a new email account to an electronic messaging application according to an illustrative embodiment of the present invention;

FIG. 5 is a computer screen display illustrating a user interface displaying the data entry screen of FIG. 4 after receiving the data according to an illustrative embodiment of the present invention;

FIG. 6 shows computer screen displays illustrating user interfaces displaying the progress of the configuration process during an online search for server connection settings and a corresponding error screen display when a network connection is unavailable according to an illustrative embodiment of the present invention;

FIG. 7 shows computer screen displays illustrating user interfaces displaying the progress of the configuration process during the online search for server connection settings and a corresponding error screen display when there is a problem connecting to a server according to an illustrative embodiment of the present invention;

FIG. 8 shows computer screen displays illustrating user interfaces displaying the progress of the configuration process during the online search for server connection settings and a corresponding error screen display when there is a problem logging on to a server utilizing a password according to an illustrative embodiment of the present invention;

FIG. 9 shows computer screen displays illustrating user interfaces displaying the progress of the configuration process during the online search for server connection settings and a corresponding error screen display when there is a problem sending a test email to an email server according to an illustrative embodiment of the present invention;

FIG. 10 is a computer screen display illustrating a user interface displaying a successful configuration for an email account according to an illustrative embodiment of the present invention;

FIG. 11 is an operational flow diagram illustrating a routine performed in configuring electronic messaging applications according to an illustrative embodiment of the present invention;

FIG. 12 is an operational flow diagram illustrating a routine performed in deriving server connection settings according to an illustrative embodiment of the present invention; and

FIG. 13 is an operational flow diagram illustrating a routine performed in discovering the server connection settings according to an illustrative embodiment of the present invention.

DETAILED DESCRIPTION

Referring now to the drawings, in which like numerals represent like elements, various aspects of the present invention will be described. In particular, FIGS. 1-2 and the corresponding discussion are intended to provide a brief, general description of a suitable computing environment in which embodiments of the invention may be implemented. While the invention will be described in the general context of program modules that execute in conjunction with program modules that run on an operating system on a personal computer, those skilled in the art will recognize that the invention may also be implemented in combination with other types of computer systems and program modules.

Generally, program modules include routines, programs, operations, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

Referring now to FIG. 1, a block diagram showing client computing apparatuses, servers, and a network architecture that provide an illustrative operating environment 100 for illustrative embodiments of the present invention will be described. The operating environment 100 includes computing apparatuses 102 a-102 n, where each computing apparatus executes a client electronic messaging application (EMA) 104, such as OUTLOOK from MICROSOFT CORPORATION. The operating environment 100 also includes mail servers 108 a-108 n that adhere to a number of Internet protocol standards and customized mail servers 107 a-107 n, such as a MICROSOFT EXCHANGE Server from MICROSOFT CORPORATION. Server 107 a is a front-end server outside of a firewall 118 that interfaces with a network 105, such as the Internet and the server 107 n is a back-end server that interfaces with a network 120, such as an intranet network.

Each server 107 and 108 may respectively store messages, such as messages 110 a-110 n that are sent to or received from the client computing apparatuses 102 a-102 n. The servers 107 a-107 n may be AutoDiscovery elements each having an AutoDiscovery service 117 a and 117 n respectively. The AutoDiscovery services 117 a-117 n, for example in response to receiving a request from the EMA 104, are enabled to respectively build connection settings files 112 a and 112 n from data retrieved from directories 114 a-114 n. The directories 114 a-114 n contain the location of messages for each user/account holder with an email address. Thus, the connection settings files 112 a-112 n provide the settings necessary for the EMAs 104 to send and receive messages both inside and outside of the firewall 118. The connection settings files 112 a-112 n may be XML files.

An Internet Service Provider (ISP) server, for example the server 108 b, participating in AutoDiscovery may also provide a connection settings file 112 b for the EMA to retrieve up to date connection settings from upon request. Additional details regarding deriving and retrieving server connection settings will be described below with respect to FIGS. 2-13.

Referring now to FIG. 2, a computing system architecture illustrating a client computing apparatus 102 utilized in various illustrative embodiments of the invention will be described. The computer architecture shown in FIG. 2 illustrates a computing apparatus 102, such as a desktop, laptop, or handheld computing apparatus, including a central processing unit 205 (“CPU”), a system memory 207, including a random access memory 209 (“RAM”) and a read-only memory (“ROM”) 211, and a system bus 212 that couples the memory to the CPU 205. A basic input/output system 213 (BIOS) containing the basic routines that help to transfer information between elements within the computer, such as during startup, is stored in the ROM 211. The computing apparatus 102 further includes a mass storage device 214 for storing an operating system 216, application programs, and other program modules, which will be described in greater detail below.

The mass storage device 214 is connected to the CPU 205 through a mass storage controller (not shown) connected to the bus 212. The mass storage device 214 and its associated computer-readable media provide non-volatile storage for the computing apparatus 102. Although the description of computer-readable media contained herein refers to a mass storage device, such as a hard disk or CD-ROM drive, it should be appreciated by those skilled in the art that computer-readable media can be any available media that can be accessed by the computing apparatus 102.

By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, digital versatile disks (“DVJS’), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computing apparatus 102.

According to various embodiments of the invention, the computing apparatus 102 may operate in a networked environment using logical connections to remote computers through networks 120 and 105, such as the Internet or intranet. The computing apparatus 102 may connect to the networks 120 and 105 through a network interface unit 220 connected to the bus 212. It should be appreciated that the network interface unit 220 may also be utilized to connect to other types of networks and remote computer systems. The computing apparatus 102 may also include an input/output controller 222 for receiving and processing input from a number of other devices, including a keyboard, mouse, or electronic stylus (shown as input device 224 in FIG. 2). Similarly, an input/output controller 222 may provide output to a display screen 225, a printer, or other type of output device.

As mentioned briefly above, a number of program modules and data files may be stored in the mass storage device 214 and RAM 209 of the computing apparatus 102, including an operating system 216 suitable for controlling the operation of a networked personal computer, such as the WINDOWS XP operating system from MICROSOFT CORPORATION of Redmond, Wash. The mass storage device 214 and RAM 209 may also store one or more program modules. In particular, the mass storage device 214 and the RAM 209 may store the EMA 104. The EMA 104 is operative to provide functionality for the creation and configuration of electronic messaging accounts utilizing server connection settings 232. The EMA 104 also includes a Guessmart code module 229 for deriving or guessing server connection settings and/or an AutoDiscovery code module 230 for discovering or retrieving the server connection settings from an AutoDiscovery protocol connection settings file provided on an ISP or customized mail server. According to one embodiment of the invention, the EMA 104 and other application programs 227 comprise the OFFICE suite of application programs from MICROSOFT CORPORATION including the WORD, EXCEL, and POWERPOINT application programs. The other application programs 227 may also include a web browser application, such as INTERNET EXPLORER from MICROSOFT CORPORATION.

Specifically the Guessmart module 229 is operative to derive server connection settings by using an email address and password received by the EMA 104. The Guessmart module 229 will take the domain portion of the e-mail address which is the portion after the @ sign and apply known server prefix names to the domain portion (DNS) of the email address. The Guessmart module 229 then attempts to connect to a server and login with the password. For example, an email address, such as friendlyjon@bar.com, provides notice that a server supporting this email account is in the bar.com domain. However, the Guessmart module 229 will derive or guess the prefix name of the server by trying a variety of known prefix names, such as “mail” or “pop”, and attempting to connect and login to a server.

Thus, the Guessmart module 229 will apply a common set of prefixes in front of email address DNS names and attempt to connect and login to a server. This process attempts a variety of server name combinations, port combinations, and authentication combinations. Different permutations of the domain are used to attempt connections. All permutations calculated for server names are attempted for each trimmed level of the domain name (e.g. users.mail.bar.com, then mail.bar.com, then finally bar.com).

The Guessmart module 229 examines the combinations that succeed at login and place them in a priority order. For example, the Guessmart module 229 may give preference to the most secure settings. Thus, if a secure way to log in on a secure port is detected, the Guessmart module 229 will store these secure settings as the server connection settings to be used for the account. Attempts to connect and login are made using post office protocol (POP), Internet message access protocol (IMAP), and simple mail transfer protocol (SMTP). SMTP is a send only protocol. IMAP and POP are receive only protocols. Thus, the Guessmart module 229 may derive one receive protocol and one send protocol which become the settings that are used for the email account. According to an illustrative embodiment of the present invention, prefixes utilized to derive server connection settings are identified below in Table 1, in order of attempt.

TABLE 1 Prefixes to Guess with (In Attempt Order)   Incoming POP Prefixes  pop  mail  sslmail  pop3  securepop  <blank> (No prefix) Incoming IMAP Prefixes  mail  imap  <blank> (No prefix) Outgoing Prefixes  smtp  smtpauth  mail  mailhost  securesmtp  <blank> (No prefix)

Another embodiment of the present invention is a technology that very specifically defines exactly what the server connection settings are that are necessary to connect to a server. The AutoDiscovery module 230 enables the EMA 104 to automatically configure and connect to custom and ISP servers. The AutoDiscovery module 230 searches for and finds an AutoDiscovery Service 117 a or 117 b on a front-end (FE) or back-end (BE) server.

The AutoDiscovery module 230 will use an email address to look up information needed to configure EMA 104. For example, given an email name (like UserName@project.dept.div.company.tld), The AutoDiscovery module 230 generates a list of possible AutoDiscovery servers. The AutoDiscovery module 230 then contacts the name autodiscover.<domainname> request the information, for example the connection settings. If that information is not found, the level of domains is reduced until one is found or the second level domain is tried. If the information still isn't retrieved, then a public service is tried. For this example these servers are tried:

1. autodiscover.project.dept.div.company.tld

2. autodiscover.dept.div.company.tld

3. autodiscover.div.company.tld

4. autodiscover.company.tld

5. a public service that provides XML payload for configuration purposes

When the AutoDisovery Service 117 is found, the service 117 dynamically builds a configuration template or file 112 a or 112 b in XML using configuration data from the AD directory 114 a or 114 b. The AutoDiscovery module 230 then downloads the configuration information from the AutoDiscovery Service 117. Then the EMA 104 connects to a mail server using the appropriate configuration settings.

Similarly, an ISP may implement AutoDiscovery. The XML connection settings in this embodiment will likely be statically stored on an ISP server rather than dynamically built by a service thus, providing scalability, and easier implementation for an ISP. For example, a static XML file having all the information needed to connect to a mail server and in fact also provides information about a non-standard port needed to connect to an SMTP server provides exact settings that are not likely to be guessed. The EMA 104 can then find and retrieve the server connection settings from a markup language file, for instance the static XML file, and configure to connect to a server.

In various embodiments of the invention, the connection settings files 112 a-112 n may be formatted according to extensible markup language (“XML”). As is understood by those skilled in the art, XML is a standard format for communicating data. In the XML data format, a schema is used to provide XML data with a set of grammatical and data type rules governing the types and structure of data that may be communicated. Additional details regarding discovering server connection settings will be described below with respect to FIGS. 3-13.

FIG. 3 is a computer screen display illustrating a user interface 300 displaying a welcome screen for an electronic messaging application startup wizard for guiding a user through a configuration process according to an illustrative embodiment of the present invention. The user interface 300 prompts the user to select a next button 302 to continue with the startup wizard guide.

FIG. 4 is a computer screen display illustrating a user interface 400 displaying a data entry screen for adding a new email account to the electronic messaging application according to an illustrative embodiment of the present invention. The user interface 400 prompts the user to enter a name in a name entry window 402, an email address in an email address entry window 404, and a password in a password entry window 407.

FIG. 5 is a computer screen display illustrating the user interface 400 displaying the data entry screen of FIG. 4 after receiving the data according to an illustrative embodiment of the present invention. The user interface 400 prompts the user to retype the password in a password retype window 502. The user interface 400 also prompts the user to submit the data by selecting a next button 510.

FIG. 6 shows computer screen displays illustrating user interfaces 600 and 602 respectively displaying the progress of the configuration process during an online search for server connection settings and a corresponding error screen display when a network connection is unavailable according to an illustrative embodiment of the present invention. The user interface 600 identifies the current status of the configuration process by displaying task indicator text 604, 605, and 607. The indicator text 607 is in bold print with an arrow indicating that the task is currently in progress.

The user interface 602 displays an error screen with status indicator text 608 and 610 indicating that a network connection is unavailable. The status indicator text 610 is in bold print with an ‘X’ indicating that the task was unsuccessful. An instruction text 612 is also provided by the user interface 602. The user interface 602 also prompts the user to continue by selecting the retry button 614.

FIG. 7 shows computer screen displays illustrating user interfaces 700 and 702 respectively displaying the progress of the configuration process during the online search for server connection settings and a corresponding error screen display when there is a problem connecting to a server according to an illustrative embodiment of the present invention. The user interface 700 displays a checkmark 704 indicating successful completion of a task and task indicator text 707 to show present progress of the configuration process.

The user interface 702 displays an error screen with status indicator text 710 and 712 indicating a problem connecting to a server. The status indicator text 712 is in bold print with an ‘X’ indicating that the task was unsuccessful. An instruction text 714 is also provided by the user interface 702 with a data change prompt for an email address window 715. The user interface 702 also prompts the user to continue by selecting the retry button 717.

FIG. 8 shows computer screen displays illustrating user interfaces 800 and 802 respectively displaying the progress of the configuration process during the online search for server connection settings and a corresponding error screen display when there is a problem logging on to a server utilizing a password according to an illustrative embodiment of the present invention. The user interface 800 displays a checkmark 804 indicating successful completion of a task and task indicator text 807 to show present progress of the configuration process.

The user interface 802 displays an error screen with status indicator text 810 and 812 indicating a problem logging on to a server. The status indicator text 812 is in bold print with an ‘X’ indicating that the task was unsuccessful. Instruction text 814 and 815 is also provided by the user interface 802 with a data change prompt for an email address and password if necessary. The user interface 802 also prompts the user to continue by selecting the retry button 817.

FIG. 9 shows computer screen displays illustrating user interfaces 900 and 902 respectively displaying the progress of the configuration process during the online search for server connection settings and a corresponding error screen display when there is a problem sending a test email to an email server according to an illustrative embodiment of the present invention. The user interface 900 displays a checkmark 904 indicating successful completion of a task and task indicator text 907 to show present progress of the configuration process.

The user interface 902 displays an error screen with status indicator text 910 and 912 indicating a problem sending a test email. The status indicator text 912 is in bold print with an ‘X’ indicating that the task was unsuccessful. Instruction text 914 is also provided by the user interface 902. The user interface 902 also prompts the user to continue by selecting the retry button 917.

FIG. 10 is a computer screen display illustrating a user interface 1000 displaying a successful configuration for an email account according to an illustrative embodiment of the present invention. The user interface 1000 displays congratulatory text 1002 and a checkmark 1004 indicating successful completion of a task. The user interface 100 also displays progress indicator text 1005 and 1007 to show present progress of the configuration process. The user interface 1000 also prompts the user to finish by selecting the finish button 1008.

FIGS. 11-13 are illustrative routines or operational flows performed in configuring electronic messaging applications according to illustrative embodiments of the invention. When reading the discussion of the routines presented herein, it should be appreciated that the logical operations of various embodiments of the present invention are implemented (1) as a sequence of computer implemented acts or program modules running on a computing system and/or (2) as interconnected machine logic circuits or circuit modules within the computing system. The implementation is a matter of choice dependent on the performance requirements of the computing system implementing the invention. Accordingly, the logical operations illustrated in FIGS. 11-13, and making up the embodiments of the present invention described herein are referred to variously as operations, structural devices, acts or modules. It will be recognized by one skilled in the art that these operations, structural devices, acts and modules may be implemented in software, in firmware, in special purpose digital logic, and any combination thereof without deviating from the spirit and scope of the present invention as recited within the claims set forth herein.

FIG. 11 is an operational flow diagram illustrating an operational flow 1100 performed in configuring electronic messaging applications according to an illustrative embodiment of the present invention. The operational flow 1100 begins at operation 1110 where the EMA 104 prompts a user to enter his or her email address and password provided by the user's ISP. Next at operation 1112, the EMA 104 receives the email address and password for future reference.

The operational flow 1100 then asynchronously continues to operations 1114 and 1117. At operation 1114, the EMA 104 derives or guesses server connection settings based on the email address and a successful login with the password. Additional details regarding operation 1114 will be described below with respect to FIG. 12.

At operation 1117, the EMA 104 discovers or retrieves the server connection settings from an XML file dynamically built or statically stored on an AutoDiscovery protocol server, such as the servers 107 a-107 n of FIG. 1. Additional details regarding operation 1117 will be described below with respect to FIG. 13.

Next the operational flow 1100 continues from operations 1114 and 1117 to detect operation 1118. At detect operation 1118, a determination is made as to whether the server connection settings were successfully discovered at operation 1117. When a determination is made that the server connection settings were successfully discovered at operation 1118, the operational flow continues to apply operation 1120 where the discovered server connection settings are applied to the email account. The operational flow 1100 then continues to test operation 1124 where the email account is tested with the applied settings. This may include receiving or sending a test email.

When a determination is made that the server connection settings were not successfully discovered at detect operation 1118, the operational flow 1100 continues from the detect operation 1118 to apply operation 1112. At the apply operation 1112 the EMA 104 applies the most optimal derived server connection settings based on designated criteria to the email account. The designated criteria may include degree of security, a designated protocol, and a designated authentication process. The operational flow then continues from apply operation 1112 to the test operation 1124 described above. The operational flow 1100 then returns control to other operations at return operation 1127.

FIG. 12 is an operational flow diagram illustrating an operational flow 1200 performed in deriving server connection settings according to an illustrative embodiment of the present invention. The operational flow 1200 begins at operation 1202 where the EMA 204 applies a known prefix name, such as ‘pop’, to a domain portion of the email address received.

Next at operation 1204, the EMA 104 attempts to connect and login to a mail server using the known prefix name, the domain portion of the email address, and the password. Then at detect operation 1207, the EMA 104 determines whether there has been a successful connection and login. When a successful connection and login does not occur, the operational flow 1200 continues from detect operation 1207 to detect operation 1212. At detect operation 1212, the EMA 104 determines whether the known prefixes, such as the prefix names listed in Table 1, have been exhausted. When the known prefixes have been exhausted, the operational flow 1200 returns control to operation 1118 described above with respect to FIG. 11.

When the know prefixes have not been exhausted, the operational flow 1200 continues from detect operation 1212 to apply operation 1214 where a next known prefix is applied in a designated order. The operational flow 1200 then returns to operation 1204 described above. It should be appreciated that the EMA 104 may also lookup the server prefix name to narrow the number of server name connection attempts.

When a successful connection and login does occur at detect operation 1207, the operational flow 1200 continues from detect operation 1207 to operation 1208. At detect operation 1208, the EMA 104 determines whether the current connection settings are more optimal than previously stored connection settings. The most optimal settings may be determined by designated criteria such as security, authentication, and protocol. When the current settings are not more optimal, the operational flow continues to operation 1212 described above. When the current connection settings are more optimal than the previously stored connection settings, the operational flow 1200 continues from operation 1208 to operation 1210.

At operation 1210, the EMA 104 stores the current connection settings as the most optimal settings based on the designated criteria. The operational flow 1200 then continues to operation 1212 described above.

FIG. 13 is an operational flow diagram illustrating a an operational flow 1300 performed in discovering the server connection settings according to an illustrative embodiment of the present invention. The operational flow 1300 begins at operation 1302 where a mail server computer establishes a designated server name, such as autodiscovery.bar.com, as a server prefix name and domain name to comply with AutoDiscovery protocol.

Next at operation 1304, the EMA 104 prompts a user for and receives an email address. The operational flow 1300 then continues to operation 1307 where the EMA 104 searches over a network for a server having the designated prefix name and requests server connection settings. For instance, each server is sent an HTTP Post command. The post data is an XML request for a certain type of information. The XML will contain information that will help execute the request. For mail, it will include the email address, the protocols the client software supports, the web browser installed, the kind of proxy in use, and the types of authentication that can be used. The server can then return an XML file that will provide the information needed for the client to configure local software to get the user to their destination.

In the case of email, an attempt is made to configure the email client software to connect to the mail server for fast access and offline support. However if this configuration method is not possible because the protocol (MAPI, IMAP, for example) is not supported or the proxy blocks access (POP blocked by Web Proxy), then an address to web based email services may offered as an alternative.

At operation 1308, the EMA 104 determines whether the server with the server settings has been found. If server connection settings have not been found, the operational flow 1300 continues from operation 1308 to operation 1310 where the EMA 104 determines whether domain options have been exhausted.

If domain options have not been exhausted, the operational flow returns to operation 1307 where the EMA 104 searches for the designated prefix name with a different domain option. If all domain options have been exhausted at operation 1310, the operational flow 1300 returns control to operation 1118 described above with respect to FIG. 11 at return operation 1320.

When at operation 1308, the EMA 104 determines that the connection settings have been found, the operational flow 1300 continues to operation 1312, where the AutoDiscovery service 117 a receives the request from the EMA 104 for server configuration settings. Next at operation 1314, the AutoDiscovery service builds a server connection setting file in XML having the current connection settings. Then at operation 1315, the AutoDiscovery service provides the server connection settings file for retrieval. It should be appreciated that an ISP server may provide the XML file without building the file in response to a client request.

Next, the operational flow 1300 continues to operation 1317 where the EMA 104 retrieves the connection settings from the server. The operational flow then continues to return operation 1320 described above.

As further illustration of sending a request for server connection settings and providing a response including the server connection settings, a schema for the request and the response for an illustrative embodiment of the present invention is provided as follows:

Based on the foregoing, it should be appreciated that the various embodiments of the invention include methods, systems, and computer-readable mediums for configuring electronic messaging applications. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended. 

1-20. (canceled)
 21. A method for configuring an application to communicate with a server, the method comprising: receiving an electronic mail message address and a password; attempting to retrieve server connection settings from the server while deriving the server connection settings based on the electronic mail message address, wherein deriving server connection settings further comprises: determining a domain portion of the electronic mail message address, wherein the domain portion includes a domain name and a top level domain; creating one or more server domain combinations based upon at least the domain portion and one or more known server prefix names; and detecting a connection to the server when at least one of the server domain combinations is successfully used with the password; and in response to detecting the connection to the server with the server connection settings, providing the server connection settings.
 22. The method of claim 21, further comprising searching for configured known server prefix names based on the domain portion of the electronic mail message address.
 23. The method of claim 21, wherein deriving the server connection settings further comprises: determining the server connection settings are more optimal than previously stored server connection settings; and replacing the previously stored connection settings with the server connection settings.
 24. The method of claim 21, wherein the one or more known server prefix names comprise one or more of a post office protocol (POP) server prefix name, an Internet message access protocol (IMAP) server prefix name, and a simple mail transfer protocol (SMTP) server name prefix.
 25. The method of claim 21, wherein detecting the connection to the server further comprises receiving an affirmative response greeting on a transmission control protocol (TCP) session.
 26. The method of claim 25, further comprising: attempting to establish a connection to the server on a secure port and a non-secure port; and storing the secure port as a more optimal server connection setting when the affirmative response greeting is returned on the secure port.
 27. The method of claim 21, further comprising evaluating one or more permutations of the server domain combinations to determine the server connection settings.
 28. The method of claim 27, wherein the evaluating comprises: attempting to establish a connection using the one or more permutations of the server domain combinations and the password; and detecting a connection to the server when at least one permutation of the server domain combination is successfully used with the password.
 29. The method of claim 28, wherein the evaluating further comprises: identifying the at least one successful permutation of the server domain combination; and storing the at least one successful permutation of the server domain combination as the server connection settings.
 30. A system comprising: at least one processor; and memory coupled to the at least one processor, the memory comprising instructions executable by the processor for: receiving an electronic mail message address and a password; attempting to retrieve server connection settings from the server while deriving the server connection settings based on the electronic mail message address, wherein deriving server connection settings further comprises: determining a domain portion of the electronic mail message address, wherein the domain portion includes a domain name and a top level domain; creating one or more server domain combinations based upon at least the domain portion and one or more known server prefix names; and detecting a connection to the server when at least one of the server domain combinations is successfully used with the password; and in response to detecting the connection to the server with the server connection settings, providing the server connection settings.
 31. The system of claim 30, further comprising instructions executable by the processor for searching for configured known server prefix names based on the domain portion of the electronic mail message address.
 32. The system of claim 30, wherein deriving the server connection settings further comprises: determining the server connection settings are more optimal than previously stored server connection settings; and replacing the previously stored connection settings with the server connection settings.
 33. The system of claim 30, wherein the one or more known server prefix names comprise one or more of a post office protocol (POP) server prefix name, an Internet message access protocol (IMAP) server prefix name, and a simple mail transfer protocol (SMTP) server name prefix.
 34. The system of claim 30, wherein detecting the connection to the server further comprises receiving an affirmative response greeting on a transmission control protocol (TCP) session.
 35. The system of claim 30, further comprising instructions executable by the processor for: attempting to establish a connection to the server on a secure port and a non-secure port; and storing the secure port as a more optimal server connection setting when the affirmative response greeting is returned on the secure port.
 36. The system of claim 30, further comprising instructions executable by the processor for evaluating one or more permutations of the server domain combinations to determine the server connection settings.
 37. The system of claim 36, wherein the evaluating comprises: attempting to establish a connection using the one or more permutations of the server domain combinations and the password; and detecting a connection to the server when at least one permutation of the server domain combination is successfully used with the password.
 38. The system of claim 37, wherein the evaluating further comprises: identifying the at least one successful permutation of the server domain combination; and storing the at least one successful permutation of the server domain combination as the server connection settings.
 39. A computer storage device encoding computer readable instructions that, when executed by at least one processor, perform a method comprising: receiving an electronic mail message address and a password; attempting to retrieve server connection settings from the server while deriving the server connection settings based on the electronic mail message address, wherein deriving server connection settings further comprises: determining a domain portion of the electronic mail message address, wherein the domain portion includes a domain name and a top level domain; creating one or more server domain combinations based upon at least the domain portion and one or more known server prefix names; and detecting a connection to the server when at least one of the server domain combinations is successfully used with the password; and in response to detecting the connection to the server with the server connection settings, providing the server connection settings.
 40. The computer storage device of claim 39, wherein deriving the server connection settings further comprises: determining the server connection settings are more optimal than previously stored server connection settings; and replacing the previously stored connection settings with the server connection settings. 